/**
 * Created by kedong on 2016/8/11.
 */
const AES = require('./aes.js');

const BASE = {
    url: {
        local: 'http://localhost:8080',
        test: 'http://test.iyouqu.com.cn:8080'
    },
    name: {
        default: "/app/service.do",
        group: '/app/group/service.do',
        // 订餐
        order: "/app/order/service.do",
        // 积分
        shop: "/app/shop/service.do",
        // 有借有还
        loan: "/app/loan/service.do"
    }
};

const app = {
    // 聊天接口
    APP083: {
        msgId: "APP083",
        type: 11,
        userId: 14,
        isOriginal: false,
        groupId: 719,
        groupName: "",
        content: AES.Encrypt("www.baidu.com"),
        isNick: false,
        isForward: false
    }
    , APP086: {
        "groupId": "59",
        "latitude": 30.453317864797484,
        "longitude": 114.42893786479749,
        "msgId": "APP086",
        "position": "在烽火通信高新四路研发中心签到啦！",
        "userId": "328",
        "userName": "柯栋"
    }
};

module.exports = {app, BASE};
